﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="productinoutmonthreport.aspx.cs"
    Inherits="Site.Report.productinoutmonthreport" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table>
            <tr>
                <td>
                    年:<asp:DropDownList runat="server" ID="drpYear">
                    </asp:DropDownList>
                    月:<asp:DropDownList runat="server" ID="drpMonth">
                    </asp:DropDownList>
                    <asp:Button runat="server" ID="btnSearch" Text="查询" onclick="btnSearch_Click" />
                    <asp:Button ID="btnExport" runat="server" Text="导出 " 
                        onclick="btnExport_Click" />
                </td>
            </tr>
        </table>
        <asp:GridView runat="server" AutoGenerateColumns="false" ID="gv" 
            onrowdatabound="gv_RowDataBound">
            <Columns>
                <asp:BoundField  DataField="sort" HeaderText="序号" />
                <asp:BoundField  DataField="cname" HeaderText="材料类别" />
                <asp:BoundField DataField="thisstart" HeaderText="期初" />
                <asp:BoundField DataField="thisin" HeaderText="入库" />
                <asp:BoundField DataField="thisout" HeaderText="出库" />
                <asp:BoundField DataField="thisrest" HeaderText="月结" />
                <asp:BoundField  HeaderText="备注" />
            </Columns>
        </asp:GridView>
    </div>
    </form>
</body>
</html>
